<?php
$this->breadcrumbs = array(
	'凭证科目' => array(
		'index'
	),
	'新建',
);

$this->userActions = array(
	//array('label'=>'List AccountTokenCategory', 'url'=>array('index')),
	array(
		'label' => '管理科目',
		'url' => $model->parentId ? array(
			'admin',
			'parentId' => $model->parentId
		) : array(
			'admin'
		)
	),
);
?>

<h1>新建科目 （<?php 
echo $model->parentId?('上级科目 '.$model->parent->name):'一级科目';
?>）</h1>
<?php echo $this->renderPartial('_form', array(
		'model' => $model
	)); ?>
